Requirements:
A relatively new phone with decent power! I tested with a Samsung Galaxy Nexus.
A rooted phone and busy box installed!
https://play.google.com/store/apps/deta ... on.busybox
Please first visit the following pages for light reading:
http://forum.xda-developers.com/showthr ... ?t=1585009
http://wiki.openkore.com/index.php/How_to_run_OpenKore
You'll also need a terminal emulator for your phone.
Personally, I'm using Android Terminal Emulator by Jack Palevich (Google play store). It's free and functional. You're free to use any one you like of course, but I have not tested those.
https://play.google.com/store/apps/deta ... ndroidterm
From the XDA link, you'll need the following files:
(Optional) Ubuntu Installer Free (Android APK)
• Boot Script
• Ubuntu 12.04 v2 Core/Small/Full
The Ubuntu Installer free is more or less a mini-guide that breaks everything down step-by-step for getting Ubuntu on Linux.
The boot script is mandatory
The Ubuntu image... You've got a choice really, depends if you'll be using linux for anything else. I went for core, since openkore is all text and I really don't need a GUI for it.
At this point, if you have installed the Ubuntu Installer Free, feel free to use it as a guide for installing Ubuntu, or continue reading.
Extract the Ubuntu image and bootscript into the same folder named Ubuntu in your root.
Now, open the terminal emulator and enter the following
Code:
su
cd sdcard/ubuntu
sh ubuntu.sh
When prompted for a screen size, leave it blank and just hit enter.
Once the wall of text finishes, you should be left with:
Code:
root@localhost:/#
Congratulations, you now have Ubuntu running on your Android.
Installing openkore:
Now, I only tested with Ubuntu core image, and it didn't have many of the libraries that openkore needs. But I'll go ahead and list them all out. Alternatively, they are available at theHow to run Openkore link from above.
1. C++ compiler
- Check by entering
Code:
g++ -v
- If no error, proceed to step 2. Otherwise, enter
Code:
sudo apt-get install build-essential g++
- Once it finishes, please check again to ensure it was installed correctly.
2. Perl
- Check by entering
Code:
perl -v
- If you see the perl version number, proceed to step 3. Otherwise, enter
Code:
sudo apt-get install perl
- Once it finishes, please check again to ensure it was installed correctly.
3. Perl module: Time::HiRes
- Check by entering
Code:
perl -e 'use Time::HiRes;'
- If nothing happens, proceed to step 4. Otherwise, enter
Code:
sudo apt-get install libtime-hires-perl
4. Perl module: Compress::Zlib
- Check by entering
Code:
perl -e 'use Compress::Zlib;'
- If nothing happens, proceed to step 5. Otherwise, enter
Code:
sudo apt-get install libcompress-zlib-perl
5. GNU readline
- I was too lazy to follow the guide on checking if it exists. So I went ahead and just tried installing it anyways
Enter
Quote:
sudo apt-get install libreadline5-dev
6. Python
- Enter
Code:
sudo apt-get install python
7. Curl
- Enter
Code:
curl-config --version
- If you get "Command not found", enter
Code:
sudo apt-get install libcurl3-dev
If it all installed correctly, you're now ready to get openkore up and running.
Download the openkore source code, as well as the config, table, and field files.
Extract all of them to a folder named openkore and place it into the root of your phone.
In ubuntu, enter
Quote:
perl ./openkore.pl
If everything goes well, you should see the familiar wall of text openkore has. Otherwise, you screwed up somewhere with the libraries.
If you closed the terminal, you'll have to get back into Ubuntu before running openkore! That means you'll need to do this
Code:
su
cd sdcard/ubuntu
sh ubuntu.sh
Then,
Code:
cd sdcard/openkore
perl ./openkore.pl
One thing, if you find yourself unable to connect to the map server on your phone, goto control/timeouts.txt and change
maplogin 12 to maplogin 30.
Give it some time, you know.
Good luck!
Edit:
Also, it is HIGHLY recommended you turn "Take WifiLock" on inside the terminal emulator.
Tested working in Samsung Galaxy Nexus, AOKP B38, Lean Kernel 3.8.0
Tested working in HTC Thunderbolt, iKReaM.605.19 no sense, Lean Kernel 6.2.1.
Source:http://forums.openkore.com/viewtopic.php?t=17380
A relatively new phone with decent power! I tested with a Samsung Galaxy Nexus.
A rooted phone and busy box installed!
https://play.google.com/store/apps/deta ... on.busybox
Please first visit the following pages for light reading:
http://forum.xda-developers.com/showthr ... ?t=1585009
http://wiki.openkore.com/index.php/How_to_run_OpenKore
You'll also need a terminal emulator for your phone.
Personally, I'm using Android Terminal Emulator by Jack Palevich (Google play store). It's free and functional. You're free to use any one you like of course, but I have not tested those.
https://play.google.com/store/apps/deta ... ndroidterm
From the XDA link, you'll need the following files:
(Optional) Ubuntu Installer Free (Android APK)
• Boot Script
• Ubuntu 12.04 v2 Core/Small/Full
The Ubuntu Installer free is more or less a mini-guide that breaks everything down step-by-step for getting Ubuntu on Linux.
The boot script is mandatory
The Ubuntu image... You've got a choice really, depends if you'll be using linux for anything else. I went for core, since openkore is all text and I really don't need a GUI for it.
At this point, if you have installed the Ubuntu Installer Free, feel free to use it as a guide for installing Ubuntu, or continue reading.
Extract the Ubuntu image and bootscript into the same folder named Ubuntu in your root.
Now, open the terminal emulator and enter the following
Code:
su
cd sdcard/ubuntu
sh ubuntu.sh
When prompted for a screen size, leave it blank and just hit enter.
Once the wall of text finishes, you should be left with:
Code:
root@localhost:/#
Congratulations, you now have Ubuntu running on your Android.
Installing openkore:
Now, I only tested with Ubuntu core image, and it didn't have many of the libraries that openkore needs. But I'll go ahead and list them all out. Alternatively, they are available at theHow to run Openkore link from above.
1. C++ compiler
- Check by entering
Code:
g++ -v
- If no error, proceed to step 2. Otherwise, enter
Code:
sudo apt-get install build-essential g++
- Once it finishes, please check again to ensure it was installed correctly.
2. Perl
- Check by entering
Code:
perl -v
- If you see the perl version number, proceed to step 3. Otherwise, enter
Code:
sudo apt-get install perl
- Once it finishes, please check again to ensure it was installed correctly.
3. Perl module: Time::HiRes
- Check by entering
Code:
perl -e 'use Time::HiRes;'
- If nothing happens, proceed to step 4. Otherwise, enter
Code:
sudo apt-get install libtime-hires-perl
4. Perl module: Compress::Zlib
- Check by entering
Code:
perl -e 'use Compress::Zlib;'
- If nothing happens, proceed to step 5. Otherwise, enter
Code:
sudo apt-get install libcompress-zlib-perl
5. GNU readline
- I was too lazy to follow the guide on checking if it exists. So I went ahead and just tried installing it anyways
Enter
Quote:
sudo apt-get install libreadline5-dev
6. Python
- Enter
Code:
sudo apt-get install python
7. Curl
- Enter
Code:
curl-config --version
- If you get "Command not found", enter
Code:
sudo apt-get install libcurl3-dev
If it all installed correctly, you're now ready to get openkore up and running.
Download the openkore source code, as well as the config, table, and field files.
Extract all of them to a folder named openkore and place it into the root of your phone.
In ubuntu, enter
Quote:
perl ./openkore.pl
If everything goes well, you should see the familiar wall of text openkore has. Otherwise, you screwed up somewhere with the libraries.
If you closed the terminal, you'll have to get back into Ubuntu before running openkore! That means you'll need to do this
Code:
su
cd sdcard/ubuntu
sh ubuntu.sh
Then,
Code:
cd sdcard/openkore
perl ./openkore.pl
One thing, if you find yourself unable to connect to the map server on your phone, goto control/timeouts.txt and change
maplogin 12 to maplogin 30.
Give it some time, you know.
Good luck!
Edit:
Also, it is HIGHLY recommended you turn "Take WifiLock" on inside the terminal emulator.
Tested working in Samsung Galaxy Nexus, AOKP B38, Lean Kernel 3.8.0
Tested working in HTC Thunderbolt, iKReaM.605.19 no sense, Lean Kernel 6.2.1.
Source:http://forums.openkore.com/viewtopic.php?t=17380